//
//  TcpConfigDefine.h
//  socketDemo
//
//  Created by 吳瀾洲 on 2020/8/7.
//  Copyright © 2020 kingboyrang. All rights reserved.
//

#ifndef TcpConfigDefine_h
#define TcpConfigDefine_h


typedef NS_ENUM(NSInteger,TcpConnectState) {
    TcpConnectUnknown=0,      //tcp连接成功未知状态
    TcpConnectSuccess,        //tcp连接成功状态
    TcpConnectClose,        //tcp连接断开状态
    TcpConnectFailed         //tcp连接失败状态
};

//tcp连接状态
typedef void (^TcpConnectStateChangedBlock) (TcpConnectState conState);
//数据发送状态
typedef void (^TcpSendDataStateBlock)(BOOL success,long tag,NSError *error);


#endif /* TcpConfigDefine_h */
